package com.jia.videos.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class VideoQuery {

    @NotEmpty(message="视频所属大分类不能为空")
    @ApiModelProperty(value = "视频所属大分类")
    private Long categoryId;

    @ApiModelProperty(value = "所属国家")
    private String country;

    @ApiModelProperty(value = "上线时间")
    private String date;

    @ApiModelProperty(value = "视频类型")
    private String type;

    @NotEmpty(message="页码不能为空")
    @ApiModelProperty(value = "页码")
    private Integer pageNum;

    @NotEmpty(message="页数不能为空")
    @ApiModelProperty(value = "页数")
    private Integer pageSize;

}
